﻿#define _CRT_SECURE_NO_WARNINGS 1

//编程初学者入门训练第二十七题
//BC29 2的n次方计算
//https://www.nowcoder.com/practice/35a1e8b18658411388bc1672439de1d9?tpId=107&tqId=33310&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D107&difficulty=undefined&judgeStatus=undefined&tags=&title=

#include <stdio.h>
int main() {
    int n;
    scanf("%d", &n);
    printf("%d", 2 << (n - 1));

    return 0;
}


